Optimal. Leaf size=427 \[ \frac{3 \log \left (-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}-\frac{3 \log \left (\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}+\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}-\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.21866, antiderivative size = 427, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316 \[ \frac{3 \log \left (-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}-\frac{3 \log \left (\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{9 a+4 b}+\sqrt{b} (3 x+2)\right )}{2 \sqrt{2} b^{3/4} \sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}}+\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}-\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}-\frac{3 \tanh ^{-1}\left (\frac{\sqrt{\sqrt{9 a+4 b}+2 \sqrt{b}}+\sqrt{2} \sqrt [4]{b} \sqrt{3 x+2}}{\sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}}\right )}{\sqrt{2} b^{3/4} \sqrt{2 \sqrt{b}-\sqrt{9 a+4 b}}} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[2 + 3*x]/(a + b*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 99.6886, size = 386, normalized size = 0.9 \[ \frac{3 \sqrt{2} \log{\left (3 x + 2 + \frac{\sqrt{9 a + 4 b}}{\sqrt{b}} - \frac{\sqrt{2} \sqrt{2 \sqrt{b} + \sqrt{9 a + 4 b}} \sqrt{3 x + 2}}{\sqrt [4]{b}} \right )}}{4 b^{\frac{3}{4}} \sqrt{2 \sqrt{b} + \sqrt{9 a + 4 b}}} - \frac{3 \sqrt{2} \log{\left (3 x + 2 + \frac{\sqrt{9 a + 4 b}}{\sqrt{b}} + \frac{\sqrt{2} \sqrt{2 \sqrt{b} + \sqrt{9 a + 4 b}} \sqrt{3 x + 2}}{\sqrt [4]{b}} \right )}}{4 b^{\frac{3}{4}} \sqrt{2 \sqrt{b} + \sqrt{9 a + 4 b}}} - \frac{3 \sqrt{2} \operatorname{atanh}{\left (\frac{\sqrt{2} \left (\sqrt [4]{b} \sqrt{3 x + 2} - \frac{\sqrt{4 \sqrt{b} + 2 \sqrt{9 a + 4 b}}}{2}\right )}{\sqrt{2 \sqrt{b} - \sqrt{9 a + 4 b}}} \right )}}{2 b^{\frac{3}{4}} \sqrt{2 \sqrt{b} - \sqrt{9 a + 4 b}}} - \frac{3 \sqrt{2} \operatorname{atanh}{\left (\frac{\sqrt{2} \left (\sqrt [4]{b} \sqrt{3 x + 2} + \frac{\sqrt{4 \sqrt{b} + 2 \sqrt{9 a + 4 b}}}{2}\right )}{\sqrt{2 \sqrt{b} - \sqrt{9 a + 4 b}}} \right )}}{2 b^{\frac{3}{4}} \sqrt{2 \sqrt{b} - \sqrt{9 a + 4 b}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((2+3*x)**(1/2)/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.34457, size = 186, normalized size = 0.44 \[ \frac{\sqrt [4]{-1} \left (\frac{\left (3 \sqrt{a}-2 i \sqrt{b}\right ) \tan ^{-1}\left (\frac{\sqrt [4]{-1} \sqrt{b} \sqrt{3 x+2}}{\sqrt{3 \sqrt{a} \sqrt{b}-2 i b}}\right )}{\sqrt{3 \sqrt{a} \sqrt{b}-2 i b}}+\frac{i \left (3 \sqrt{a}+2 i \sqrt{b}\right ) \tan ^{-1}\left (\frac{(-1)^{3/4} \sqrt{b} \sqrt{3 x+2}}{\sqrt{3 \sqrt{a} \sqrt{b}+2 i b}}\right )}{\sqrt{3 \sqrt{a} \sqrt{b}+2 i b}}\right )}{\sqrt{a} \sqrt{b}} \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[2 + 3*x]/(a + b*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.142, size = 944, normalized size = 2.2 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((2+3*x)^(1/2)/(b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{3 \, x + 2}}{b x^{2} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(3*x + 2)/(b*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.219834, size = 420, normalized size = 0.98 \[ -\frac{1}{2} \, \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \log \left (a b^{2} \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) + \frac{1}{2} \, \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \log \left (-a b^{2} \sqrt{-\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} + 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) + \frac{1}{2} \, \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \log \left (a b^{2} \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) - \frac{1}{2} \, \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \log \left (-a b^{2} \sqrt{\frac{3 \, a b \sqrt{-\frac{1}{a b^{3}}} - 2}{a b}} \sqrt{-\frac{1}{a b^{3}}} + \sqrt{3 \, x + 2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(3*x + 2)/(b*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 10.7644, size = 56, normalized size = 0.13 \[ 6 \operatorname{RootSum}{\left (20736 t^{4} a^{2} b^{3} + 576 t^{2} a b^{2} + 9 a + 4 b, \left ( t \mapsto t \log{\left (576 t^{3} a b^{2} + 8 t b + \sqrt{3 x + 2} \right )} \right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2+3*x)**(1/2)/(b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 23.7987, size = 1, normalized size = 0. \[ \mathit{Done} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(3*x + 2)/(b*x^2 + a),x, algorithm="giac")
[Out]